Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.ecm.user.center.actions

Contributions

XML Source

<component name="org.nuxeo.ecm.user.center.actions">

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">

    <action id="home" link="view_home" label="label.main.tab.home" order="20"
      type="main_tab">
      <category>MAIN_TABS</category>
    </action>

    <!-- Users and Groups directory -->
    <action id="UsersGroupsHome" link="/user_center_fragment.xhtml"
      label="command.manageMembers" icon="/icons/users_groups.png" order="60">
      <category>USER_CENTER</category>
      <filter-id>not_anonymous</filter-id>
      <filter-id>not_readonly</filter-id>
    </action>
    <action id="UsersHome" link="/users/view_users.xhtml"
      label="label.userManager.users" order="10">
      <category>UsersGroupsHome_sub_tab</category>
      <filter-id>not_readonly</filter-id>
    </action>
    <action id="GroupsHome" link="/users/view_groups.xhtml"
      label="label.groupManager.groups" order="20">
      <category>UsersGroupsHome_sub_tab</category>
      <filter-id>not_readonly</filter-id>
    </action>

    <!-- Saved searches -->
    <action id="SavedSearches" link="/user_center_fragment.xhtml"
      label="user.center.saved.searches" icon="/icons/saved_searches.png" order="70">
      <category>USER_CENTER</category>
      <filter-id>not_anonymous</filter-id>
      <filter id="SavedSearches_has_subtabs">
        <rule grant="false">
          <condition>
            #{webActions.getActionsList('SavedSearches_sub_tab').isEmpty()}
          </condition>
        </rule>
      </filter>
    </action>

  </extension>

</component>